#pragma once

#include <QWidget>

class TLabel : public QWidget
{
    Q_OBJECT

public:
    explicit TLabel(QWidget *parent = nullptr);
    virtual ~TLabel() override;

    void setText(const QString &text);

protected:
    virtual void paintEvent(QPaintEvent *event) override;

private:
    QString m_text;
};
